home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / utilitys / 351 / p_or_sav / p_orsave.txt < prev    next >
Text File  |  1989-11-08  |  19KB  |  370 lines

  1. Print oR SAVE --  an ALT/HELP vector stealer.....
  2.  
  3. These programs are Copyright 1989 Chet Walters
  4.  
  5. **** NO RIGHTS RESERVED ****
  6.  
  7. That's right!  Upload 'em anywhere.  Give 'em to anyone! However, just
  8. keep the text file that goes with them _WITH THEM_! (Hey, even us
  9. beleaguered ShareWare programmers are entitled to a little free
  10. advertising).
  11.  
  12. The WHY...
  13. I simply got tired of loading a separate program into memory then
  14. rebooting or running something that stole the ALT/HELP vector depending
  15. on what I wanted to do -- that is whether I wanted to SAVE the screen
  16. as a PI? pic or whether I wanted to dump the screen to the printer (I
  17. have an HP DeskJet).
  18.  
  19. The WHAT...
  20. So, I wrote and ALT/HELP vector stealer that did both!  Yup, depending
  21. on what keys you press, the Print oR SAVEr will either print the screen
  22. on the printer or save it to a disk.  There are two versions, one for
  23. HPDJ owners and one for regular printer owners.  Please read the
  24. instructions below carefully for the one you want to use.
  25.  
  26.  
  27. The HOW...
  28. SAVING PI? pics with Print oR SAVE
  29.  
  30. The following is common to both programs so I will detail it only once
  31. here since it applies to both. First, it's not necessary to hold the
  32. key presses for any length of time (with the exception of the EJECT for
  33. the DJ).  Just use a normal key press for the keys.  Whichever program
  34. you use, it should be run from the AUTO folder though you can run it
  35. from the desktop anytime and it will work OK.  Back up the program
  36. you're going to use.  Then copy it to the AUTO folder. The programs
  37. come defaulted to the root directory of drive A: for saving the PI?
  38. pics.  You can change that, however, by running the appropriate SET
  39. program.  Here's the ones to use: 
  40.  
  41. If you _DON'T_ have an HP then:
  42.    Use P_R_SAVE.PRG in the AUTO folder and set with P_R_SSET.PRG
  43.  
  44. If you _DO_ have an HPDJ or HPLaser then:
  45.    Use HP_RSAVE.PRG in the AUTO folder and set with HP_R_SET.PRG
  46.  
  47. Run the appropriate SET program. You will be first asked to locate the
  48. copy of the program to modify (normally the e you've copieeed into the
  49. AUTO folder).  If you don't select the right program, then the SET
  50. program will ask again and again until you get the right one or hit
  51. CANCEL on the FSEL.  Once you choose the right one, you will be asked
  52. to choose the path to which you wish your screen dumps saved as PI?
  53. pics and whether you want to modify the program to remember that path.
  54. Say YES and you're done.
  55.  
  56. With either program, pressing the RIGHT-SHIFT / ALT / HELP combination
  57. will save the currently visible screen to the path you have set as an
  58. appropriate Degas PI? picture file.  The program can save 26 screens
  59. consecutively starting with the name SCREEN_A.PI? and ending with the
  60. name SCREEN_Z.PI?.  It starts scanning with the 'A' and the first time
  61. it encounters an empty slot, that's the name it will use.  With this in
  62. mind, it's a good idea to often clean out the path of old pics since
  63. this will speed the process of searching for an empty slot and also
  64. will keep you from getting confused as to which pic is which.
  65.  
  66. Pic Saving Caveats...
  67. Now, one is not supposed to go poking around accessing the disk and
  68. saving screens while another program is running without first asking
  69. that program's permission.  That's what we're doing here. We're
  70. cheating.  Along down the road we're gonna crash the machine.  Someday,
  71. sometime the inevitable bombs will appear.  Don't say I didn't warn
  72. you. Eventually you'll come upon a situation where trying to save the
  73. screen will crash the machine.  Make sure before you go to save a
  74. screen, that you save any important work you might be in the process of
  75. creating.  THEN save the screen with the RT SHIFT/ALT/HELP keys.  Also
  76. make sure you don't press those keys when there is any disk or printer
  77. I/O going on at the time.  YOU HAVE BEEN WARNED!  BTW -  if a save is
  78. successful, you'll hear a bell chime.  If it's _NOT_ successful (disk
  79. full, no names left, whatever) then you'll hear _no_ bell chime (or see
  80. bombs maybe).  Too, if another program has moved the keyboard vector
  81. after we're installed, the SHIFT KEY may be ingnored by the system
  82. (then again maybe not).  If that happens, you won't be able to save the
  83. screen but the print dump should still work (then again, maybe not).
  84.  
  85. USING P_R_SAVE.PRG...
  86.  (if you have an HP DJ or LJ then skip this part)
  87.  
  88. When P_R_SAVE.PRG is installed, it will take up 630 bytes or so of your
  89. memory (cheap, huh?).  Any time you press the ALT/HELP keys, you'll not
  90. even notice that P_R_SAVE is there.  It will fall through to the
  91. system's PRINT SCREEN routine and that'll be that.  But, you happen to
  92. have a Rainbow printer and have a nice driver installed so that the
  93. ALT/HELP keys will dump the screen in color, right?  So, you're
  94. wondering what the heck you can do to use P_R_SAVE.  No sweat. Just
  95. make sure that P_R_SAVE.PRG runs AFTER the program that installs
  96. whatever custom driver you need for your printer.  P_R_SAVE will then
  97. fall through that custom driver.  Easy, huh?  Run P_R_SAVE after any
  98. programs that already steal the ALT/HELP keys and you won't know it's
  99. installed unless you press the RIGHT SHIFT / ALT / HELP key combo and
  100. then it'll save your screen.  Now, skip the next section and move on
  101. down to the advertising section (hey, all I ask for my trouble in
  102. writing this program and dox and taking the time to upload it and
  103. making it easy for you to use is that you read my ad.  Small price to
  104. pay... go ahead....)
  105.  
  106. USING HP_RSAVE.PRG
  107.  
  108. There are a few more things you DJ or LJ owners will encounter when
  109. configuring your HP_RSAVE.PRG.  You will be asked to set some other
  110. parameters.  You see, this ain't just a screen dump.  This is a real
  111. fancy screen dump (at only 1600 bytes of memory when installed, it
  112. ain't gonna be THAT awful fancy, but I think it's nice and you will
  113. too). 
  114.  
  115. LETTER or DRAFT mode (LEFT-SHIFT/ALT/HELP)
  116.  
  117. First of all, the program comes defaulted to DRAFT prints.  They turn
  118. out real good looking in draft and you'll hardly notice the difference
  119. in quality, but you'll REALLY notice the savings on your expensive ink
  120. carts.  You can change the default to one of three things.  If you
  121. choose PANEL, then it's up to you to set the quality with front panel
  122. switches on the printer (at least the DJ, dunno about the laser).  If
  123. you choose LETTER then that's the default.  If you choose DRAFT then
  124. DRAFT it'll be.  However, unless you have chosen PANEL you can change
  125. the default ON THE FLY for each individual screen dump!  If you've
  126. chosen LETTER and you hold the LEFT-SHIFT/ALT/HELP keys then for this
  127. dump only, you'll get a DRAFT screen dump (the front panel will switch
  128. to DRAFT after the dump and remain that way so punch it if you need
  129. LETTER for other things).  Just pressing ALT/HELP will still cause a
  130. LETTER print with HP_RSAVE next time, so remember, the LEFT SHIFT key
  131. will SHIFT your PRINTER into the opposite mode from the default for
  132. THIS DUMP ONLY but the printer remains in that mode for ANY OTHER
  133. program BUT HP_RSAVE.  The same applies to a DRAFT default.  The LEFT
  134. SHIFT key will toggle LETTER for this dump only.  If you have chosen
  135. PANEL as the default, then the LEFT SHIFT key is ignored.  Personally,
  136. I have it set for DRAFT and hold the LEFT SHIFT key only if I need a
  137. LETTER quality dump (boy do my carts last a long time and this also has
  138. the bonus of cutting about 40% off the time it takes to print).
  139.  
  140. TWO SIZES  (CONTROL/ALT/HELP)
  141.  
  142. HP_RSAVE can dump in two sizes as well.  The SMALL size is roughly 4
  143. 1/4 by 2 3/4 inches.  The LARGE size chimes in at 6 1/4 by just under 4
  144. inches.  Set the one you want as default (I like 'em small -- saves ink
  145. and time).  You can change the size ON THE FLY by pressing the
  146. CONTROL/ALT/HELP keys for a dump.  That will set the printer to the
  147. OPPOSITE of the default like above. If you have SMALL set then for THIS
  148. DUMP ONLY you'll get LARGE when you hold down the CONTROL key while you
  149. press ALT/HELP.  Small size dumps will fit three to a page and large
  150. will fit two.  That's why I included the following extra feature.
  151.  
  152. PAGE EJECT  (HOLD the ALT KEY FOR ONE SECOND)
  153.  
  154. You can set HP_RSAVE to ALWAYS eject the page for every dump.  That's
  155. just what it will do.  Before each dump, the printer will bring up a
  156. new page and after each dump it will spit it out.  If you set ALWAYS,
  157. there is NO WAY to change it on the fly. If you set it to KEY then
  158. pressing ALT/HELP will just print the screen wherever the paper lies
  159. and will stop printing leaving the paper right where it is with a small
  160. advance so's not to print on top of the last one.  This is nice for
  161. getting two or three screens on a sheet.  But, when you get to the end
  162. of a sheet, it would be a pain to get up and eject the page manually,
  163. now wouldn't it?  So, if you press ALT/HELP then release the HELP key
  164. but continue to hold down the ALT key for the count of 'one mississippi
  165. -- two mississippi then the page will eject once the dump is done! 
  166. Neat!
  167.  
  168. ABORT PRINTING  (RESET BUTTON ON THE PRINTER)
  169.  
  170. You're wondering now how to abort a print in progress?  You can't and
  171. here's why:  Graphics images are notoriously repetitive (a blank line
  172. is all zeroes).  HP_RSAVE will read the screen and compress it
  173. (something like ARC only different) and will send that compressed
  174. screen to the printer. The DJ can accept this COMPRESSED data for
  175. printing graphics. The ATARI screen is 32K.  The DJ is sleepy (takes a
  176. while to begin actually printing).  HP_RSAVE normally compresses the
  177. average desktop into LESS than 16K of data.  The DJ has a 16K buffer. 
  178. See what we're leading up to?  If you press ALT/HELP to dump a
  179. relatively uncomplicated screen, HP_RSAVE will send the screen into the
  180. DJ's buffer and will give you your ST back BEFORE the printer ever
  181. starts printing (usually about four seconds!).  There just ain't time
  182. to abort.  If you need to abort a print, wait until you can move your
  183. mouse again (it freezes) then press the RESET button on the printer.  
  184.  
  185. NOTE TO WILY PROGRAMMERS OUT THERE:  If you feel the need to
  186. disassemble HP_RSAVE and steal the compression scheme, then go ahead
  187. have at it.  Just give me credit when you release you're WONDERFUL HIGH
  188. SPEED HPDJ PRINTER DRIVER that uses only 4K of memory.
  189.  
  190. KEY SUMMARY
  191.  
  192. -- Print keys
  193.        ALT/HELP --------------- prints the screen with current defaults
  194.        LEFT-SHIFT/ALT/HELP ---- toggles (SHIFTS) the print quality
  195.        CONTROL/ALT/HELP ------- toggles (CONTROLS) the size
  196.        delay ALT KEY release -- causes page EJECT after dump
  197. (these above presses can be combined in any fashion such as pressing
  198. the CONTROL/LEFT-SHIFT/ALT/HELP combination will cause a large letter
  199. quality dump if small and draft are the defaults or vice verse [Whaa'd
  200. 'e say?])
  201.  
  202. -- Save keys
  203.        RIGHT-SHIFT/ALT/HELP --  saves current screen to default path
  204.  
  205. -- Crazy keys
  206.        RIGHT-SHIFT/LEFT-SHIFT/CONTROL/ALT/HELP (all keys at once)  will
  207. cause HP_RSAVE to fall through to whatever driver was installed BEFORE
  208. itself (likely the system dump so you'll get a whole bunch of smiley
  209. faces and lots of other garbage on the page unless you have another
  210. printer hooked up temporarily and need to print a screen on it).
  211.  
  212. HP_RSAVE caveats
  213. Again, since HP_RSAVE does a little cheating to do what it does for
  214. you, it might (rarely) bomb when dumping a page to the printer.  Save
  215. any important work before dumping a screen.  Saving a screen is much
  216. more prone to bombing like explained.  HP_RSAVE will NOT dump LOW RES
  217. screens to the printer.  Pressing any of the print key combinations
  218. will cause absolutely NOTHING to happen at all.  HI RES screens turn
  219. out terrific!  MED RES screens turn out terrific about 95% of the time.
  220. The other 5% you are advised to save the screen (like in LOW RES) and
  221. use some other program to print them (hey, waddaya want for 1600
  222. bytes).
  223.  
  224. I have strived to make HP_RSAVE compatible with just about anything at
  225. all.  It works great for me.  However, there's likely SOME program
  226. SOMEWHERE that won't like the key presses involved here.  To this I say
  227. (and you can quote me), "TOO BAD!"  It's free and it won't tie your
  228. shoes or make dinner for you, but try it... you might get hooked on it!
  229.  
  230. While we're at it, here's some stuff that's available for a donation:
  231.  
  232. >>>> Now for the advertisement section of this doc <<<<
  233.  
  234. by Chet Walters....
  235.  
  236. **** DOT MAGIC!
  237.  Text file printer with 22 fonts and a font editor enclosed. Don't feel
  238. like booting up that DTP application for just a letter to Aunt Minnie
  239. in Minnesota?  Well, print a pretty with Dot Magic!  Comes with several
  240. utilities including one that lets you put those nice fonts on pics too!
  241. 9pin and 24 pin dot matrix only.
  242.  
  243. **** COMPACT DIR
  244. Directory dump with a twist.  Uses the smallest font of an HP DeskJet
  245. or superscript on an Epson compat to fit more than 10 meg worth of
  246. filenames on one page for easy cross-referencing.  Dump just one
  247. partition or the whole shebang! Sorts on NAME DATE TIME TYPE too!
  248.  
  249. ***** EASY MOVE
  250. Tired of dragging those IMG files along with your GEM drawings from
  251. Easy Draw?  Use Easy Move instead.  This will copy or move GEM files
  252. searching through the file itself for any corresponding IMG files and
  253. will move them with it automatically.  A must if you use Easy Draw.
  254.  
  255. ***** PIC_LOG
  256. Geeezzz! You've got all these clip art disks full of Degas, Tiny and
  257. Neo pics but you can't remember what they are with those cryptic
  258. filenames. Well, if you have an HP DeskJet, HP LaserJet, and Epson 24
  259. pin compat or just a nine pinner, then you can dump a nice catalog of
  260. an entire disk of pics for easy referencing.  The HP drivers put 15
  261. full screens on one page!  LQ's get 9 pics a page.  It's easy!
  262.  
  263. ***** PS to PM
  264. Got a huge library of 8 bit Print Shop icons gathering dust?  If you
  265. have an ST and an 8 bit Atari, you can use this to transfer an entire
  266. Print Shop disk full of graphics from the 8 bit to a nice alphabetized
  267. PrintMaster file for use on the ST.  You'll need a null modem to make
  268. the transfer complete.
  269.  
  270. ***** CLIP_ART
  271. Got a thousand PrintMaster Graphics that you'd like to use elsewhere?
  272. This one will load up to 2000 PM icons from which you can view and
  273. select individuals to put on a Degas screen for easy access in other
  274. DTP applications.  Mono version fits more than 40 on a screen for easy
  275. clipping.  Color version slightly less.
  276.  
  277. **** PM CAT
  278. Right, and what would you do with all those PrintMaster icons if you
  279. don't know what they look like?  PM Cat is the answer.  Prints 77 icons
  280. in each page complete with name and library.  Works with Epson
  281. compatible 9 pin or 24 pin printers.
  282.  
  283. **** CHANGE EASELY
  284. Get tired of the same pic on your desktop when using Easel ST?  Use
  285. this handy accessory to change it on the fly!  Got a nice lady that
  286. you'd like to have peeking out from behind your windows but are afraid
  287. that you know who will get jealous?  Well, put her there any time you
  288. want, and if you feel someone sneaking up behind you, you can change to
  289. that nice mountain scene in an instant. Requires Easel ST v1.10 to
  290. work.
  291.  
  292. **** STITCH X
  293. Want to get that Computer Eyes shot of kids made into a cross stitch
  294. pattern?  If you have an Epson FX compatible printer then you can do it
  295. with STITCH X.  Load Tiny, Degas and Neo pics from which you can clip
  296. any portion to dump to the printer as a cross stitch pattern complete
  297. with color chart and symbols.  If your clip won't fit on one page, then
  298. it gets tiled for you up to poster size suitable for framing. (lo rez
  299. only)
  300.  
  301. **** BIG_MAC
  302. MAC format picture viewer.  This is actually the only MAC pic slide
  303. show available for the ST!  Scrolls the pics one after the other for
  304. you to see.  Choose 'single' from the menu and you can load one at a
  305. time with the ability to save the visible scrollable screen to a Degas
  306. PI2 or PI3.  Color or monochrome.
  307.  
  308. **** IMG CAT
  309. Ever wonder just what that file named WINTER01.IMG really looks like? 
  310. Especially when it's in a folder with WINTER02.IMG and WINTER03.IMG? 
  311. Well, wonder no more.  Here's comes IMG CAT to the rescue!  This
  312. compact machine language program will print a catalogue of any path of
  313. IMG files (graphics, with text) up to 15 images per page! All without
  314. any babysitting by you.  There are three choices of page styles (6-
  315. 12-15) and a number of other conveniences.  It also has a great single
  316. image dump with variable size and placement on the page. If you work
  317. with IMG bit graphics, you won't want to miss this one!  The demo is
  318. free for just writing (comes with a demo of Dr. Bob's MVG and the
  319. latest FUJIDESK!) and the working program can be had for a mere $10.
  320. Requires GDOS and a suitable driver for your printer (Easy Draw drivers
  321. work great).
  322.  
  323. ****Print oR SAVE
  324. You already know........
  325.  
  326. Write for info or send a donation to Chet Walters
  327.                                      PO Box 45
  328.                                      Girard, OH 44420 
  329.  
  330. =====================================================================
  331.  
  332. Dr. BobWare   -  software available for a donation to -
  333.  
  334. W. D. Parks
  335. 180 N. Hazeltine
  336. Campbell, OH  44405
  337.  
  338.  
  339. ==== Program Menu
  340. Include up to 8 names of programs which you can run at the touch of a
  341. key or a simple mouse click.  Stores complete path for harddrive owners
  342. and even looks on both floppies if you have two.  Chaining of menus is
  343. easy so you can have an infinite number of things to run at a touch. 
  344. Install one of these in each slot of the HotWire! menu and you'll have
  345. 416 available slots.  Don't dig through those directories again! Great
  346. for those game disks!  The latest version includes a text file reader 
  347. with pageup and pagedown features.  Prints characters to the screen
  348. that
  349. other readers won't (including the FUJI!).
  350.  
  351. ==== MultiViewer Graphica
  352. This thing is like a mini Touch Up!  It's that good!  Loads IMG, PCX,
  353. PI?, PC?, TNY, NEO, and more!  Saves in as many formats!  Rotates,
  354. clips, edits, scrolls, flips, fat bits, skinny bits and much much more.
  355. This is the ONLY program on the ST that will save any of the above
  356. listed graphics in MAC pic format that will actually work on the
  357. MacIntosh or Spectre 128! 
  358.    MVG is still growing and you'll want to get on Mr. Parks'
  359.    mailing list for the updates. Monochrome only.
  360.  
  361. ==== Shape Lib
  362. Now, for those PrintMaster fans comes finally a sorter organizer for
  363. all those icons!  Choose any or many source files from which you can
  364. choose individual PM icons to move to a destination.  Singly or by just
  365. tagging with a click several names from the list.  Icons are in full
  366. view and it even accepts those 'odd' sized icons from the IBM version
  367. of NewsMaster!
  368.  
  369.       ........>>>>>>>>  SUPPORT SHAREWARE AUTHORS  <<<<<<<<........
  370.